package com.ys.entity.business;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TB_PlatformServicePayAccount", catalog="Id")
public class TbPlatformServicePayAccount extends BaseEntity<TbPlatformServicePayAccount> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="PlatFormCode", nameJava="platFormCode", typeDataBase="varchar")
	private String platFormCode;
	@YsField(nameDataBase="ServiceCode", nameJava="serviceCode", typeDataBase="varchar")
	private String serviceCode;
	@YsField(nameDataBase="ServiceName", nameJava="serviceName", typeDataBase="varchar")
	private String serviceName;
	@YsField(nameDataBase="AmazonShopExchangeRateld", nameJava="amazonShopExchangeRateld", typeDataBase="bigint")
	private Long amazonShopExchangeRateld;
	@YsField(nameDataBase="OperatorUserId", nameJava="operatorUserId", typeDataBase="varchar")
	private String operatorUserId;
	@YsField(nameDataBase="Vyhzhmc", nameJava="vyhzhmc", typeDataBase="varchar")
	private String vyhzhmc;
	@YsField(nameDataBase="Vkhh", nameJava="vkhh", typeDataBase="varchar")
	private String vkhh;
	@YsField(nameDataBase="AchRouting", nameJava="achRouting", typeDataBase="varchar")
	private String achRouting;
	@YsField(nameDataBase="Vyhzh", nameJava="vyhzh", typeDataBase="varchar")
	private String vyhzh;
	@YsField(nameDataBase="SwiftCode", nameJava="swiftCode", typeDataBase="varchar")
	private String swiftCode;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="CreateChangeld", nameJava="createChangeld", typeDataBase="bigint")
	private Long createChangeld;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TbPlatformServicePayAccount setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TbPlatformServicePayAccount setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public TbPlatformServicePayAccount setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public String getPlatFormCode() {
		return platFormCode;
	}
	public TbPlatformServicePayAccount setPlatFormCode(String platFormCode) {
		this.platFormCode = platFormCode;
		return this;
	}
	public String getServiceCode() {
		return serviceCode;
	}
	public TbPlatformServicePayAccount setServiceCode(String serviceCode) {
		this.serviceCode = serviceCode;
		return this;
	}
	public String getServiceName() {
		return serviceName;
	}
	public TbPlatformServicePayAccount setServiceName(String serviceName) {
		this.serviceName = serviceName;
		return this;
	}
	public Long getAmazonShopExchangeRateld() {
		return amazonShopExchangeRateld;
	}
	public TbPlatformServicePayAccount setAmazonShopExchangeRateld(Long amazonShopExchangeRateld) {
		this.amazonShopExchangeRateld = amazonShopExchangeRateld;
		return this;
	}
	public String getOperatorUserId() {
		return operatorUserId;
	}
	public TbPlatformServicePayAccount setOperatorUserId(String operatorUserId) {
		this.operatorUserId = operatorUserId;
		return this;
	}
	public String getVyhzhmc() {
		return vyhzhmc;
	}
	public TbPlatformServicePayAccount setVyhzhmc(String vyhzhmc) {
		this.vyhzhmc = vyhzhmc;
		return this;
	}
	public String getVkhh() {
		return vkhh;
	}
	public TbPlatformServicePayAccount setVkhh(String vkhh) {
		this.vkhh = vkhh;
		return this;
	}
	public String getAchRouting() {
		return achRouting;
	}
	public TbPlatformServicePayAccount setAchRouting(String achRouting) {
		this.achRouting = achRouting;
		return this;
	}
	public String getVyhzh() {
		return vyhzh;
	}
	public TbPlatformServicePayAccount setVyhzh(String vyhzh) {
		this.vyhzh = vyhzh;
		return this;
	}
	public String getSwiftCode() {
		return swiftCode;
	}
	public TbPlatformServicePayAccount setSwiftCode(String swiftCode) {
		this.swiftCode = swiftCode;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TbPlatformServicePayAccount setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Long getCreateChangeld() {
		return createChangeld;
	}
	public TbPlatformServicePayAccount setCreateChangeld(Long createChangeld) {
		this.createChangeld = createChangeld;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TbPlatformServicePayAccount setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TbPlatformServicePayAccount setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TbPlatformServicePayAccount setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TbPlatformServicePayAccount tbPlatformServicePayAccount(
		String bid,
		String vgsbm,
		String platFormCode,
		String serviceCode,
		String serviceName,
		Long amazonShopExchangeRateld,
		String operatorUserId,
		String vyhzhmc,
		String vkhh,
		String achRouting,
		String vyhzh,
		String swiftCode,
		String remark,
		Long createChangeld,
		Integer status
			) {
		TbPlatformServicePayAccount entity = new TbPlatformServicePayAccount();
		entity.setBid(bid);
		entity.setVgsbm(vgsbm);
		entity.setPlatFormCode(platFormCode);
		entity.setServiceCode(serviceCode);
		entity.setServiceName(serviceName);
		entity.setAmazonShopExchangeRateld(amazonShopExchangeRateld);
		entity.setOperatorUserId(operatorUserId);
		entity.setVyhzhmc(vyhzhmc);
		entity.setVkhh(vkhh);
		entity.setAchRouting(achRouting);
		entity.setVyhzh(vyhzh);
		entity.setSwiftCode(swiftCode);
		entity.setRemark(remark);
		entity.setCreateChangeld(createChangeld);
		entity.setStatus(status);
		return entity;
	}
}